﻿using System.Threading;

namespace iArtis.Models.Localization
{
    public static class AppConfig
    {
        public static readonly string DefaultLanguageCode = "ru";
        public static readonly string SupportedLanguages = string.Concat(DefaultLanguageCode, "|en");

        public static string CurrentLanguageCode
        {
            get { return Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName; }
        }
    }
}